package stu.aistar.service;

import com.github.pagehelper.PageInfo;
import org.springframework.stereotype.Service;
import stu.aistar.model.pojo.Ciname;

import java.util.List;

@Service
public interface CinameService {

    List<Ciname> findAll();

    PageInfo<Ciname> findByPage(String page, String pageSize,String name);

    Integer getTotal();

    Integer saveMovie(Ciname ciname);

    Integer deleteCinameById(Integer id);

    Ciname findByCinameId(Integer id);

    Integer editCiname(Ciname ciname);
}
